package com.yisu.auction.api.core.mapper;

import com.yisu.auction.api.domain.vo.activityPackageVos.SecKillVo;
import com.yisu.auction.ewf.entity.SecKillActivity;

import java.util.List;

public interface SecKillActivityMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SecKillActivity record);

    int insertSelective(SecKillActivity record);

    SecKillActivity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SecKillActivity record);

    int updateByPrimaryKeyWithBLOBs(SecKillActivity record);

    int updateByPrimaryKey(SecKillActivity record);


    /**
     * author: 赵杰
     * Business Description：获取当日的秒杀
     * @return
     */
    List<SecKillVo> getCurrentDaySecKillList();

}